package com.ltmap.dao.user;

import org.springframework.stereotype.Repository;

import com.ltmap.dao.base.SimpleDao;
import com.ltmap.dao.user.entity.User;


@Repository
public class UserDAO extends SimpleDao<User>{

	public User seleceUser(User user){
		User ansuser = this.sqlSessionTemplate.selectOne(this.getSqlName("selectUser"), user);
		System.out.println(ansuser.getPhone());
		return ansuser;
		
	}
	
}
